Update window management and app sandboxing.#47
Merged
kristinaquinones merged 3 commits intoapple-store-distrofrom Jan 6, 2026
Merged
Update window management and app sandboxing.#47kristinaquinones merged 3 commits intoapple-store-distrofrom
kristinaquinones merged 3 commits intoapple-store-distrofrom
Conversation
- Remove com.apple.security.temporary-exception.files.absolute-path.read-only from App Store entitlements (Guideline 2.4.5(i)) - Add Window > Main Window menu item to reopen closed window (Guideline 4) - Add AppDelegate to handle dock icon click when no windows visible 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix App Store rejection: remove entitlement exception, add Window menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to window management and app sandboxing in the
tibokmacOS app. The changes enhance how the main window is reopened, improve SwiftUI integration with AppKit for window control, and update the app's entitlements for better security and user file access.Window management and SwiftUI/AppKit integration:
MainWindowContentSwiftUI view and refactored the main window scene to use it, enabling better control over window actions and capturing theopenWindowenvironment action for use outside SwiftUI. [1] [2]AppDelegateclass to handle dock icon clicks, allowing the app to reopen the main window when all windows are closed. [1] [2]reopenMainWindow()function and aWindowAccessorsingleton to bridge SwiftUI and AppKit for window reopening, including a new "Main Window" menu item with a keyboard shortcut. [1] [2]App sandboxing and entitlements:
tibok-appstore.entitlementsto enable app sandboxing, allow user-selected file read/write access, and permit network client access, removing the previous temporary file access exception.Other UI and command improvements: